package com.wskh.eduOrder.client.impl;

import com.wskh.eduOrder.client.UcenterClient;
import com.wskh.eduOrder.entity.UcenterMember;
import com.wskh.eduOrder.mapper.TOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UcenterClientImpl implements UcenterClient {

    @Autowired
    TOrderMapper tOrderMapper;

    @Override
    public UcenterMember getInfoUc(String id) {
        System.out.println("UcenterClient服务降级了");

        return tOrderMapper.getInfoUc(id);
    }
}
